import java.util.Map.Entry;

public class MySystemProperties {
	public static void main(String[] args) {

		String fileSeparator = System.getProperty("file.separator");

		System.out.println(fileSeparator);

		String javaHome = System.getProperty("java.home");
		System.out.println(javaHome);

		for (Entry<Object, Object> entry : System.getProperties().entrySet()) {

			System.out.println("Key: " + entry.getKey() + ", Value: "
					+ entry.getValue());

		}

	}
}
